import Vue from 'vue'
import App from './App.vue'

//1. 导入的是某个文件来的index文件，则可以省略index.js
import router from '@/router'

Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  //2.挂载路由模块
  router
}).$mount('#app')
